package com.ilvyou.data.lcs;

import java.sql.Timestamp;

/**
 * Created by Administrator on 2017/2/13.
 */
public class CollectPnetEntity {
    private Long collectid;
    private Long logid;
    private Long actid;
    private String actname;
    private Integer ruleid;
    private String rulecode;
    private Integer levelid;
    private String levelcode;
    private String contact;
    private String job;
    private String feedback;
    private String netaccount;
    private String accounttype;
    private String netstate;
    private String imagepath1;
    private String imagepath2;
    private String imagepath3;
    private Integer status;
    private Timestamp createdon;
    private String createdby;
    private String createdname;
    private String createdip;
    private String lastedname;
    private Timestamp lastedon;
    private Long lastedby;
    private String lastedip;

    public Long getCollectid() {
        return collectid;
    }

    public void setCollectid(Long collectid) {
        this.collectid = collectid;
    }

    public Long getLogid() {
        return logid;
    }

    public void setLogid(Long logid) {
        this.logid = logid;
    }

    public Long getActid() {
        return actid;
    }

    public void setActid(Long actid) {
        this.actid = actid;
    }

    public String getActname() {
        return actname;
    }

    public void setActname(String actname) {
        this.actname = actname;
    }

    public Integer getRuleid() {
        return ruleid;
    }

    public void setRuleid(Integer ruleid) {
        this.ruleid = ruleid;
    }

    public String getRulecode() {
        return rulecode;
    }

    public void setRulecode(String rulecode) {
        this.rulecode = rulecode;
    }

    public Integer getLevelid() {
        return levelid;
    }

    public void setLevelid(Integer levelid) {
        this.levelid = levelid;
    }

    public String getLevelcode() {
        return levelcode;
    }

    public void setLevelcode(String levelcode) {
        this.levelcode = levelcode;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }

    public String getNetaccount() {
        return netaccount;
    }

    public void setNetaccount(String netaccount) {
        this.netaccount = netaccount;
    }

    public String getAccounttype() {
        return accounttype;
    }

    public void setAccounttype(String accounttype) {
        this.accounttype = accounttype;
    }

    public String getNetstate() {
        return netstate;
    }

    public void setNetstate(String netstate) {
        this.netstate = netstate;
    }

    public String getImagepath1() {
        return imagepath1;
    }

    public void setImagepath1(String imagepath1) {
        this.imagepath1 = imagepath1;
    }

    public String getImagepath2() {
        return imagepath2;
    }

    public void setImagepath2(String imagepath2) {
        this.imagepath2 = imagepath2;
    }

    public String getImagepath3() {
        return imagepath3;
    }

    public void setImagepath3(String imagepath3) {
        this.imagepath3 = imagepath3;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Timestamp getCreatedon() {
        return createdon;
    }

    public void setCreatedon(Timestamp createdon) {
        this.createdon = createdon;
    }

    public String getCreatedby() {
        return createdby;
    }

    public void setCreatedby(String createdby) {
        this.createdby = createdby;
    }

    public String getCreatedname() {
        return createdname;
    }

    public void setCreatedname(String createdname) {
        this.createdname = createdname;
    }

    public String getCreatedip() {
        return createdip;
    }

    public void setCreatedip(String createdip) {
        this.createdip = createdip;
    }

    public String getLastedname() {
        return lastedname;
    }

    public void setLastedname(String lastedname) {
        this.lastedname = lastedname;
    }

    public Timestamp getLastedon() {
        return lastedon;
    }

    public void setLastedon(Timestamp lastedon) {
        this.lastedon = lastedon;
    }

    public Long getLastedby() {
        return lastedby;
    }

    public void setLastedby(Long lastedby) {
        this.lastedby = lastedby;
    }

    public String getLastedip() {
        return lastedip;
    }

    public void setLastedip(String lastedip) {
        this.lastedip = lastedip;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CollectPnetEntity that = (CollectPnetEntity) o;

        if (collectid != null ? !collectid.equals(that.collectid) : that.collectid != null) return false;
        if (logid != null ? !logid.equals(that.logid) : that.logid != null) return false;
        if (actid != null ? !actid.equals(that.actid) : that.actid != null) return false;
        if (actname != null ? !actname.equals(that.actname) : that.actname != null) return false;
        if (ruleid != null ? !ruleid.equals(that.ruleid) : that.ruleid != null) return false;
        if (rulecode != null ? !rulecode.equals(that.rulecode) : that.rulecode != null) return false;
        if (levelid != null ? !levelid.equals(that.levelid) : that.levelid != null) return false;
        if (levelcode != null ? !levelcode.equals(that.levelcode) : that.levelcode != null) return false;
        if (contact != null ? !contact.equals(that.contact) : that.contact != null) return false;
        if (job != null ? !job.equals(that.job) : that.job != null) return false;
        if (feedback != null ? !feedback.equals(that.feedback) : that.feedback != null) return false;
        if (netaccount != null ? !netaccount.equals(that.netaccount) : that.netaccount != null) return false;
        if (accounttype != null ? !accounttype.equals(that.accounttype) : that.accounttype != null) return false;
        if (netstate != null ? !netstate.equals(that.netstate) : that.netstate != null) return false;
        if (imagepath1 != null ? !imagepath1.equals(that.imagepath1) : that.imagepath1 != null) return false;
        if (imagepath2 != null ? !imagepath2.equals(that.imagepath2) : that.imagepath2 != null) return false;
        if (imagepath3 != null ? !imagepath3.equals(that.imagepath3) : that.imagepath3 != null) return false;
        if (status != null ? !status.equals(that.status) : that.status != null) return false;
        if (createdon != null ? !createdon.equals(that.createdon) : that.createdon != null) return false;
        if (createdby != null ? !createdby.equals(that.createdby) : that.createdby != null) return false;
        if (createdname != null ? !createdname.equals(that.createdname) : that.createdname != null) return false;
        if (createdip != null ? !createdip.equals(that.createdip) : that.createdip != null) return false;
        if (lastedname != null ? !lastedname.equals(that.lastedname) : that.lastedname != null) return false;
        if (lastedon != null ? !lastedon.equals(that.lastedon) : that.lastedon != null) return false;
        if (lastedby != null ? !lastedby.equals(that.lastedby) : that.lastedby != null) return false;
        if (lastedip != null ? !lastedip.equals(that.lastedip) : that.lastedip != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = collectid != null ? collectid.hashCode() : 0;
        result = 31 * result + (logid != null ? logid.hashCode() : 0);
        result = 31 * result + (actid != null ? actid.hashCode() : 0);
        result = 31 * result + (actname != null ? actname.hashCode() : 0);
        result = 31 * result + (ruleid != null ? ruleid.hashCode() : 0);
        result = 31 * result + (rulecode != null ? rulecode.hashCode() : 0);
        result = 31 * result + (levelid != null ? levelid.hashCode() : 0);
        result = 31 * result + (levelcode != null ? levelcode.hashCode() : 0);
        result = 31 * result + (contact != null ? contact.hashCode() : 0);
        result = 31 * result + (job != null ? job.hashCode() : 0);
        result = 31 * result + (feedback != null ? feedback.hashCode() : 0);
        result = 31 * result + (netaccount != null ? netaccount.hashCode() : 0);
        result = 31 * result + (accounttype != null ? accounttype.hashCode() : 0);
        result = 31 * result + (netstate != null ? netstate.hashCode() : 0);
        result = 31 * result + (imagepath1 != null ? imagepath1.hashCode() : 0);
        result = 31 * result + (imagepath2 != null ? imagepath2.hashCode() : 0);
        result = 31 * result + (imagepath3 != null ? imagepath3.hashCode() : 0);
        result = 31 * result + (status != null ? status.hashCode() : 0);
        result = 31 * result + (createdon != null ? createdon.hashCode() : 0);
        result = 31 * result + (createdby != null ? createdby.hashCode() : 0);
        result = 31 * result + (createdname != null ? createdname.hashCode() : 0);
        result = 31 * result + (createdip != null ? createdip.hashCode() : 0);
        result = 31 * result + (lastedname != null ? lastedname.hashCode() : 0);
        result = 31 * result + (lastedon != null ? lastedon.hashCode() : 0);
        result = 31 * result + (lastedby != null ? lastedby.hashCode() : 0);
        result = 31 * result + (lastedip != null ? lastedip.hashCode() : 0);
        return result;
    }
}
